home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / misc / chemistr / crystalt.cpt / CrystalTutor Demo / card_54092.txt < prev    next >
Encoding:
Text File  |  1992-01-31  |  1.6 KB  |  71 lines

  1. -- card: 54092 from stack: in
  2. -- bmap block id: 54472
  3. -- flags: 0000
  4. -- background id: 2808
  5. -- name: hexpac
  6.  
  7.  
  8. -- part 4 (field)
  9. -- low flags: 00
  10. -- high flags: 2000
  11. -- rect: left=266 top=40 right=286 bottom=467
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 0
  15. -- font id: 3
  16. -- text size: 12
  17. -- style flags: 256
  18. -- line height: 16
  19. -- part name: 
  20.  
  21.  
  22. -- part 5 (button)
  23. -- low flags: 00
  24. -- high flags: A003
  25. -- rect: left=357 top=290 right=312 bottom=457
  26. -- title width / last selected line: 0
  27. -- icon id / first selected line: 0 / 0
  28. -- text alignment: 1
  29. -- font id: 0
  30. -- text size: 12
  31. -- style flags: 0
  32. -- line height: 16
  33. -- part name: Continue
  34. ----- HyperTalk script -----
  35. on mouseUp
  36.   go to card "transform"
  37. end mouseUp
  38.  
  39.  
  40.  
  41. -- part 6 (button)
  42. -- low flags: 00
  43. -- high flags: A003
  44. -- rect: left=194 top=290 right=312 bottom=294
  45. -- title width / last selected line: 0
  46. -- icon id / first selected line: 0 / 0
  47. -- text alignment: 1
  48. -- font id: 0
  49. -- text size: 12
  50. -- style flags: 0
  51. -- line height: 16
  52. -- part name: Review
  53. ----- HyperTalk script -----
  54. on mouseUp
  55.   put 1 into variable
  56.   repeat 6
  57.     put "hexagon" & variable into animation
  58.     go to card animation
  59.     wait 20
  60.     add 1 to variable
  61.   end repeat
  62.   go to card "hexpac"
  63. end mouseUp
  64.  
  65.  
  66.  
  67. -- part contents for card part 4
  68. ----- text -----
  69. The repetition pattern shown here, in which every alternate plane has the same relative position of the spheres, may be described as A,B,A,B,A,B, etc.
  70. The overall structure is called hexagonally close-packed. There are close-packed planes in one direction only and there is a three-fold axis of symmetry at right angles to those planes.
  71.